 #@TODO: 2.3
def count():
    yield 0
    yield 1
gen = count()
try:
    print(next(gen), end=' ')
    print(next(gen), end=' ')
    print(next(gen), end=' ')
except:
    print('done')
